package com.qianfeng.openapi.service;

import com.github.pagehelper.PageInfo;
import com.qianfeng.openapi.pojo.ApiMapping;

import java.util.List;

public interface ApiMappingService {
    //增加
    void insertApiMapping(ApiMapping apiMapping);
    //删除单个或者全部
    void deleteApiMapping(int[] ids);
    //修改
    void updateApiMapping(ApiMapping apiMapping);
    //查询单个
    ApiMapping selectApiMappingByGatewayApiName(String gatewayApiName);
    //查询所有
    PageInfo<ApiMapping> getAllApiMapping(int page, int limit, ApiMapping apiMapping);
}
